AutoCandlesHi everyone!, this Script is the first in my series of candlesticks indicators. Currently it supports only a few, but it´s quite strict about them, contrary to most scripts I do thorough calculations to avoid false signals, if you would like to soften the indicators so it generates more signals feel free to ask.
It uses the same interface for showing as the Candlestick Scanner by Nicolas, but use different formulas.
I encourage everyone to comment what indicators they would like to add (with proper reference so I can actually add them) or to correct improper behavior in the indicator. This way I will be able to perfect the indicator and make it more useful to everyone.
If anyone reads the pine code and wonders why I compare to the average true range frequently the answer is quite simple, it's done to make the algorithm work in ANY symbol, so concepts like long bars or "visible" gaps can actually be coded.
If anyone needs to hide the 0.0000 values of the script it needs to go to the properties of the chart, then background and then uncheck indicator values.
Search in scripts for "THE SCRIPT"
Trender & mov avg Jayy updateThe Trender and moving average for a version of trend analysis. This is an update of a previously published script. A recent Pine script update makes this update necessary.
This is my interpretation of Bloomberg's Trender.
The script is derived from this document:
www.forexfactory.com
I have no idea what settings are best. I like the ones I have used because I see some harmony with the
20ema but that could be said for a variety of settings. The chief variable for adjustment is "sensitivity" which is really just the number of standard deviations away from the midpoint calculation. The Trender is plotted as crosses.
Also the moving average will be green if its own 8 period moving average is below the
moving average or red if it is above. In other words a Green moving average suggests an uptrend and a red moving average a down trend as far as moving averages are concerned. In formatting you can have an ema or sma at the click of a button. also at the bottom you will have an option to display moving averages as emas in intraday and smas if the period is daily or higher. In this option you will also see the 50 moving average ( ema if intraday and sma if daily or more.) Most people will opt for consistency and simply use either an ema or sma . In this case leave the
"Show EMAs intraday and smas interday" unchecked.
Jayy
ST15 CM inspired 4hr renko Pivots
Standard pivot points do not work with ATR Renko charts, but I really enjoy using pivot points to find strong s/r, so I started to look at scripts that could provide the same results as floor trader pivots but on a renko chart. I found a script written by CM that I was able to tweak a little and I got it work with ATR renkos. The only issue now is he only wrote the script to look for 1hr pivot points so I am now in the process off writing versions that can do the 240 1d 1w and 1m pivot points as well. Here is the 4hr :) enjoy! Thank you CM :)
VWAP with FIB range JayyThis is sandbox experiment. The script creates bands around the VWAP based on the opening range on an intraday chart (adjustable in the format section) using fibonacci multipliers (mostly): .236, .382, .5, .618, .786, 1, 1.27 and 1.618. I have not built much flexibility into the script so this is very much an alpha script. Something new for Pippin and Kipp.
Supertrend with Correct Y-axis Scaling OLEG_SLSThe functionality of the script:
1. Supertrend Calculation:
-The trend (Supertrend line) is updated dynamically:
-If the price is above the previous trend, the line follows the upper limit.
-If the price is lower, the line follows the lower boundary.
2. Calculation of the Supertrend for the higher timeframe:
-The function is used to calculate the Supertrend for the hourly, regardless of the current timeframe on the chart.
3. Buy and Sell Signals:
-Buy signal: When the price crosses the Supertrend line up and is above the Supertrend line.
-A sales signal: When the price crosses the Supertrend line down and is below the Supertrend line.
4. Display on the chart
-The Supertrend line is displayed:
-Green if the price is above the Supertrend line.
-Red if the price is below the Supertrend line.
-The Supertrend line for the hourly timeframe is displayed in blue.
5. Alerts
Two types of alerts are created:
-Buy Alert: When there is a buy signal.
-Sell Alert: When there is a sell signal.
Features and recommendations:
-Supertrend works best in trending markets. In a sideways movement, it can give false signals.
-Check the signals on multiple timeframes for confirmation.
-Add additional indicators (for example, RSI or MACD) to filter the signals.
-Test the strategy on historical data before using it in real trading.
_________________________________________________________________________________
Функционал скрипта:
1. Расчет Supertrend:
-Тренд (линия Supertrend) обновляется динамически:
-Если цена выше предыдущего тренда, линия следует за верхней границей.
-Если цена ниже, линия следует за нижней границей.
2. Расчет Supertrend для старшего таймфрейма:
-Используется функция чтобы рассчитать Supertrend для часового,независимо от текущего таймфрейма на графике.
3. Сигналы покупки и продажи:
-Сигнал покупки: Когда цена пересекает линию Supertrend вверх и находится выше линии Supertrend.
-Сигнал продажи: Когда цена пересекает линию Supertrend вниз и находится ниже линии Supertrend.
4. Отображение на графике
-Линия Supertrend отображается:
-Зеленым, если цена выше линии Supertrend.
-Красным, если цена ниже линии Supertrend.
-Линия Supertrend для часового таймфрейма отображается синим цветом.
5. Оповещения
Создаются два типа оповещений:
-Buy Alert: Когда возникает сигнал на покупку.
-Sell Alert: Когда возникает сигнал на продажу.
Особенности и рекомендации:
-Supertrend лучше всего работает в трендовых рынках. В боковом движении может давать ложные сигналы.
-Проверяйте сигналы на нескольких таймфреймах для подтверждения.
-Добавьте дополнительные индикаторы (например, RSI или MACD) для фильтрации сигналов.
-Тестируйте стратегию на исторических данных перед использованием в реальной торговле.
RSI Difference (Fast and Slow)Introduction
Oscillators like the RSI are fundamental tools for identifying trends in financial markets. Their ability to measure price momentum allows traders to detect overbought, oversold levels, and divergences, anticipating trend changes. Are there ways to improve the use of traditional RSI? How can we obtain more detailed information about current trends? This indicator answers these questions by expanding the functionalities of the traditional RSI and offering an additional tool for analysis.
How does it work?
This indicator provides a framework for trend analysis based on the following setup:
Fast RSI
Slow RSI
SMA of the fast RSI
SMA of the slow RSI
Histogram
Custom Indicator Settings
My preferred configuration is based on the 13 and 55 moving averages. The rest of the setup is as follows:
I typically use the 13 and 55 moving averages to configure both the RSI and short- and long-term moving averages.
Interpretation and Signals: Including a Long-Period RSI
Including a long-period RSI helps identify key patterns in market behavior. Crossovers between the two can be used to establish entry patterns:
If the fast RSI crosses above the slow RSI, this could indicate a long-entry pattern.
If the fast RSI crosses below the slow RSI, this could indicate a short-entry pattern.
Interpretation and Signals: Including Moving Averages
Including moving averages for both the short- and long-period RSI can help identify the base trend of the movement and, consequently:
Avoid false signals.
Trade in favor of the trend.
A simple way to start working with these is to use the crossover of the moving averages to identify the current trend:
If the short-period SMA is above the long-period SMA, the trend is bullish.
If the short-period SMA is below the long-period SMA, the trend is bearish.
Interpretation and Signals: The Histogram
The histogram represents the difference between the moving averages. If the histogram is positive, the short average is above the long average. If the histogram is below zero, the short average is below the long average. Divergences with price provide signals of potential exhaustion in the movement, indicating a possible reversal.
Indicator Details
This indicator builds upon the traditional RSI by integrating additional features that enhance its utility for traders. Here’s how each component is calculated and how they contribute to the originality of the script:
Fast RSI and Slow RSI: The fast RSI is calculated using a shorter lookback period, allowing it to capture rapid changes in momentum. The slow RSI uses a longer period to smooth out fluctuations and provide a broader view of the trend. These two RSIs work together to identify significant momentum shifts.
SMA of RSI values: The simple moving averages (SMA) of the fast and slow RSI help filter out noise and provide clear crossover signals. The SMAs are calculated using standard formulas but applied to the RSI values rather than price data, which adds a layer of insight into momentum trends.
Histogram calculation: The histogram represents the difference between the SMA of the fast RSI and the SMA of the slow RSI. This value gives a visual representation of the convergence or divergence of momentum. When the histogram crosses zero, it signifies a potential shift in the underlying trend.
This indicator combines multiple layers of analysis: fast and slow momentum, trend confirmation through SMAs, and divergence detection via the histogram. This multi-dimensional approach provides traders with a more comprehensive tool for trend analysis and decision-making.
Conclusion
This article has explored how to use this indicator to identify trends, leverage entry patterns, and analyze divergences by combining the fast RSI, slow RSI, their moving averages, and a histogram. Additionally, I’ve detailed how I usually interpret this indicator:
Identifying RSI patterns to anticipate momentum changes.
Using SMAs to confirm base trends.
Leveraging the histogram to detect divergences and potential price reversals.
Indices Tracker and VOLD-Market BreadthThis is an overlay displaying DOW, Nasdaq and S&P performance for the day in real-time along with NQ and NYSE market breadth display.
Overview of the Script:
The Dow, Nasdaq, S&P Tracker section is at the top, displaying the current index values, changes, and colors.
The VOLD-Market Breadth section is below, providing the market breadth information.
Helpful to get a market view while trading stocks or options directionally.
Engulfing with Fibonacci LevelsIndicator Explanation
The indicator identifies bullish and bearish engulfing patterns and plots Fibonacci levels based on these patterns. Here's a detailed explanation of the script:
1. Bullish Engulfing Pattern
A bullish engulfing pattern is identified when:
- The previous candle is bearish (`close < open `).
- The current candle is bullish (`close > open`).
- The low of the current candle is lower than the low of the previous candle (`low < low `).
- The current candle's close is higher than the previous candle's open (`close > open `).
When a bullish engulfing pattern is identified:
- Fibonacci levels are plotted from the low (0%) to the high (100%) of the bullish candle.
- A green dot is plotted below the bullish candle to indicate a buy signal.
2. Bearish Engulfing Pattern
A bearish engulfing pattern is identified when:
- The previous candle is bullish (`close > open `).
- The current candle is bearish (`close < open`).
- The high of the current candle is higher than the high of the previous candle (`high > high `).
- The current candle's close is lower than the previous candle's open (`close < open `).
When a bearish engulfing pattern is identified:
- Fibonacci levels are plotted from the high (0%) to the low (100%) of the bearish candle.
- A red dot is plotted above the bearish candle to indicate a sell signal.
3. Plotting Fibonacci Levels
For both bullish and bearish patterns, Fibonacci levels are plotted at:
- 0% (high for bullish, low for bearish)
- 50%
- 61.8%
- 79%
- 100% (low for bullish, high for bearish)
Smart Money Concept (SMC) Explanation
Bearish Signal
In the context of Smart Money Concepts (SMC), a bearish engulfing pattern can indicate:
- **Buy Side Liquidity Grab**: The high of the current bearish candle goes above the high of the previous bullish candle, potentially grabbing buy-side liquidity (stop losses of short positions or buy stops).
- **Break of Structure (BoS)**: The close of the bearish candle below the open of the previous bullish candle indicates a shift in market structure.
After identifying this bearish engulfing pattern, a smart money trader might:
1. Wait for the market to retrace 50% of the bearish candle.
2. Enter a sell trade around the 50% retracement level, anticipating a continuation of the downward move.
#### Bullish Signal
Similarly, a bullish engulfing pattern can indicate:
- **Sell Side Liquidity Grab**: The low of the current bullish candle goes below the low of the previous bearish candle, potentially grabbing sell-side liquidity (stop losses of long positions or sell stops).
- **Break of Structure (BoS)**: The close of the bullish candle above the open of the previous bearish candle indicates a shift in market structure.
After identifying this bullish engulfing pattern, a smart money trader might:
1. Wait for the market to retrace 50% of the bullish candle.
2. Enter a buy trade around the 50% retracement level, anticipating a continuation of the upward move.
The indicator helps traders identify key engulfing patterns that align with smart money concepts of liquidity grabs and breaks of structure. By plotting Fibonacci levels, it visually aids traders in waiting for optimal retracement levels (50%) to enter trades in the direction of the anticipated move. This approach leverages the idea that significant market participants often seek liquidity and cause structural shifts, providing entry opportunities for informed traders.
12&50 RSI + %R2/50 RSI+ %R is a PineScript indicator that combines two popular technical indicators, the Relative Strength Index (RSI) and the Williams %R. The indicator plots two lines, K and D, which represent the smoothed moving averages of the RSI. It also plots the RSI with a 60-period length and the Williams %R with a 21-period length. The indicator can be used to identify overbought and oversold conditions, as well as potential reversals.
Here are some of the key features of the script:
It uses two different RSI lengths to provide a more comprehensive view of the market.
It plots the Williams %R, which can be used to identify overbought and oversold conditions.
It includes overbought and oversold levels to help traders identify potential entry and exit points.
Trend Indicator with RSI and Fibbonacci Band 0.702 crossingsToday we have a new Indicator set, which I created using inspiration from the Trend Magic Indicator from KivancOzbilgic and adding several new aspects to it and a slightly modified calculation of the trend indicator itself.
You can change the inputs by changing the pre set values in the settings, but I found the current settings quite accurate. Feel free to experiment to fine tune the indicators.
Here are the details of the script:
Trend indicated within candles and as a line
- bullish and bearish trends are now also indicated within the candle based on the CCI calculation.
- Bullish is indicated by a green circle below the candle or as one may call it a "dot"
- bearish trend is indicated by a red circle above the candle
Entry Signal based on RSI crossing its EMA
- my motivation was to have a clearer entry signal besides highlighting a trend, which can not really be used to identify a good entry but to give confidence or when loosing trend to give an exit signal.
- after studiying the RSI and how it works together with its EMA it looks quite interesting as an entry or exit signal. But be cautios if the EMA and RSI values are moving in a narrow area we get a lot of crosses and therefore signals which should rather be ignored rather to be act on. So the the range where the cross happens is also quite important. But this aspect is not yet reflected as a rule/ logic.
But I am thinking of adding something.. or alternativly best to switch to another timeframe to get some better data
RSI overbought and oversold as Diamonds
- I also added key indications of oversold or overbought as Blue and Pink diamonds, can be considered as additional information to maybe identify a short term top or bottom.. but its not very accurate.
Entry signal based on crossing Fibbonachi Band 0.702
- So far the 0.702 seems to be quite an interesting retracement level which seems to be met a lot of times
- based on the assumption the price will evantually hit the 0.702 either direction I wanted to get a signal when this happens
- BUT! a big but, unfortunalty the Fibbonachi bands tend to bloat up in case of high volatility so it is not easy to find the crossing on higher timeframes
Here are the standard value which I found quite accurate for the assets I use this indicator set:
CCI Period = 5
ATR Multiplier = 1
ATR Period = 1
Source = High Low Close (hlc3 average value of the candle
Here the inputs used for the RSI Crossing signal (here you should play around a little to see which entry would have been best..)
RSI Length = 14
RSI Oversold = 25 (to be used for the "golden" entry signal based on the FBB crossing)
RSI Overbought = 80 (to be used for the "golden" entry signal based on the FBB crossing)
RSI Moving Average Length
In future versions I will add options to activate or deactive some of the plotting and espacially this golden dot when the fibbonachi band is being crossed needs some fine tuning..
And lets see if there is a way to fix the bloating of those bands..
Nick_OS RangesUNDERSTANDING THE SCRIPT:
TIMEFRAME RESOLUTION:
* You have the option to choose Daily , Weekly , or Monthly
LOOKBACK WINDOW:
* This number represents how far back you want the data to pull from
- Example: "250" would represent the past 250 Days, Weeks, or Months depending on what is selected in the Timeframe Resolution
RANGE 1 nth (Gray lines):
* This number represents the range of the nth biggest day, week, or month in the Lookback Window
- Example: "30" would represent the range of the 30th biggest day in the past 250 days. (If the Lookback Window is "250")
RANGE 2 nth (Blue lines):
* This number represents the range of the nth biggest day, week, or month in the Lookback Window
- Example: "10" would represent the range of the 10th biggest day in the past 250 days. (If the Lookback Window is "250")
RANGE 3 nth (Pink lines):
* This number represents the range of the nth biggest day, week, or month in the Lookback Window
- Example: "3" would represent the range of the 3rd biggest day in the past 250 days. (If the Lookback Window is "250")
YELLOW LINES:
* The yellow lines are the average percentage move of the inputted number in the Lookback Window
SUGGESTED INPUTS:
FOR DAILY:
Lookback Window: 250
Range 1 nth: 30
Range 2 nth: 10
Range 3 nth: 3
FOR WEEKLY:
Lookback Window: 50
Range 1 nth: 10
Range 2 nth: 5
Range 3 nth: 2
FOR MONTHLY:
Lookback Window: 12
Range 1 nth: 3
Range 2 nth: 2
Range 3 nth: 1
TIMEFRAMES TO USE (If You Have TradingView Premium):
Daily: 5 minute timeframe and higher (15 minute timeframe and higher for Futures)
Weekly: 15 minute timeframe and higher
Monthly: Daily timeframe and higher (Monthly still has issues)
TIMEFRAMES TO USE (If You DO NOT Have TradingView Premium):
Daily: 15 minute timeframe and higher
Weekly: 30 minute timeframe and higher
Monthly: Daily timeframe and higher (Monthly still has issues)
IMPORTANT RELATED NOTE:
If you decide to use a higher Lookback Window, the ranges might be off and the timeframes listed above might not apply
ISSUES THAT MIGHT BE RESOLVED IN THE FUTURE
1. If it is a shortened week (No Monday or Friday), then the Weekly Ranges will show the same ranges as last week
2. Monthly ranges will change based on any timeframe used
MTF Candlestick Patterns Screening [tanayroy]This script displays all candle patterns found in multi-time frames for a given lookback period. Candle pattern screening logic is taken from TradingView’s built-in script. The script works with 5m, 15m, 30m, 1HR, 2HR, 4HR, D, W, M timeframe. Works best with 5m chart.
Options available for trend detection, lookback period, and selecting candle pattern.
Please like, comment, and follow.
Supertrend MTF Heikin AshiThis is non-repaiting Supertrend Multi Time Frame script, uses Heikin Ashi Candles as source on normal chart
There is an option for Higher Time Frame. if you choose "Auto" then Higher Time Frame calculation is made by the script. If you choose "User Defined" option and then you can select Time Frame.
You better use this script with other indicators such as RSI, Momentum etc.
Enjoy!
Renko ChartHello All. This is live and non-repainting Renko Charting tool. The tool has it’s own engine and not using integrated function of Trading View.
Renko charts ignore time and focus solely on price changes that meet a minimum requirement. Time is not a factor on Renko chart but as you can see with this script Renko chart created on time chart.
Renko chart provide several advantages, some of them are filtering insignificant price movements and noise, focusing on important price movements and making support/resistance levels much easier to identify.
in the script Renko Trend Line with threshold area is included. and also there is protection from whipsaws, so you can catch big waves with very good entry points. Trend line is calculated by EMA of Renko closing price.
As source Closing price or High/Low can be used. Traditional or ATR can be used for scaling. If ATR is chosen then there is rounding algorithm according to mintick value of the security. For example if mintick value is 0.001 and brick size (ATR/Percentage) is 0.00124 then box size becomes 0.001. And also while using dynamic brick size (ATR), box size changes only when Renko closing price changed.
Renko bar can be seen as area or candle and also optionally bar color changes when Renko trend changed.
Soon other Renko scripts (Renko RSI, Renko Weis Wave, Renko MACD etc) are coming ;)
ENJOY!
RSI/Stoch/SRSI MTF COMBOThis combo-indicator is based on @ChrisMoody 's RSI and Stoch MTF original scripts.
It gives traders the possibility to overlay RSI, Stochastic and SRSI as well as to see how each element is behaving on a higher/lower TF.
RSI, Stoch and SRSI can be individually configured as well as turned on/off by the user.
Overbought/Oversold and Middle lines are available but only the formers can be configured by the user - Middle Line is fixed at 50.
This indicator is open source and free to use. Feel free to change it around to suit your needs.
***If you copy & paste the script, please remember to credit Chris Moody for his amazing work.***
Happy trading!
vdubong updatedMost the credit for this update has to go to RicardoSantos and his awesome RSIChannel + some fixes to my own which I embedded to my my own script.. I've also embedded the additional Bollinger band 50/2. What can I say it's becoming a thing of beauty :).
RicardoSantos's RSIChannel indicator is also included separately (hidden) should you chose to 'Make it mine'
Made a couple of changes to the script pastebin.com